//
//  WCDeviceTools.h
//  WonderCommon
//
//  Created by zero on 2021/4/8.
//

#import <Foundation/Foundation.h>


NS_ASSUME_NONNULL_BEGIN

@interface WCDeviceTools : NSObject

/// 系统名称
+ (NSString *)getDeviceSystemName;

/// 设备用户名称
+ (NSString *)getDeviceSettingName;

/// 设备机型
+ (NSString *)getCurrentDeviceModel;

/// 系统版本号
+ (NSString*)getSystemVersion;

/// 设备类型名称
+ (NSString *)getDeviceModel;

/// 设备内部编号(会变动)
+ (NSString *)getDeviceMachine;

/// 磁盘内存
+ (CGFloat)getDeviceTotalMemory;

/// 磁盘剩余内存
+ (CGFloat)getDeviceFreeDisk;

/// 设备屏幕尺寸
+ (NSString *)getDeviceLogicalScreenSize;

/// 设备CPU个数
+ (NSInteger)getDeviceCPUNum;

/// IDFA
+ (NSString *)getDeviceIDFA;

/// IDFV
+ (NSString *)getDeviceIDFV;

/// UUID
+ (NSString *)getUUID;

/// 设备电量
+ (CGFloat)getDeviceBatteryLevel;

/// 获取电池的状态
+ (NSString *)getBatteryState;

/// 屏幕亮度
+ (CGFloat)getScreenBrightness;

/// 音量大小
+ (CGFloat)getDeviceVolume;

/// 是否开启WiFi
+ (BOOL)deviceisWiFiEnabled;

/// 是否开启代理
+ (BOOL)deviceIsUseProxy;

/// 是否是模拟器
+ (BOOL)deviceIsSimulator;

/// 是否插入sim卡
+ (BOOL)isSimInserted;

/// iPhone中SIM卡的个数
+ (int)getSimCountInPhone;

/// 网络制式
+ (NSString *)getNetCarrier;

/// 判断是否越狱
+ (BOOL)isJailBreak;

/// 获取系统开机时间到1970时间差值（毫秒）
+ (long)getBootTime;

/// OpenId
+ (NSString *)getOpenId;

@end

NS_ASSUME_NONNULL_END
